package com.kayang.dd.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import java.util.Map;

@Data
public class PersonalTaskModel extends BaseModel<PersonalTaskModel>{

    @NotBlank
    @Max(value = 1024)
    private String subject;


    private String description;

    private long dueTime;

    @Length(min = 1, max = 100)
    private String[] executorIds;

    private String [] participantIds;

    /**
     *  {
     *     "dingNotify" : "1"
     *   }
     * */
    private Map notifyConfigs;

    private long reminderTimeStamp;
}
